package com.ruoyi.mapper.jpjs.income;

import com.ruoyi.domain.jpjs.common.municipal.Income;
import com.ruoyi.domain.jpjs.common.municipal.IncomeDetail;
import com.ruoyi.domain.jpjs.common.municipal.IncomeParam;
import com.ruoyi.domain.jpjs.common.municipal.Payment;
import com.ruoyi.domain.jpjs.common.municipal.expend.Team;

import java.util.List;
import java.util.Map;

public interface IncomeMapper {

    public List<Income> queryIncomeList(Income income);

    public List<Income> queryIncomeListForCount(Income income);

    public List<Income> queryIncomeListForPay(Income income);

    public List<Income> queryIncomeObj(Map<String, Object> map);

    public int checkActualMonthUnique(IncomeParam incomeParam);

    public int checkPlanMonthUnique(IncomeParam incomeParam);

    public int checkActualMonthUniqueEdit(IncomeParam incomeParam);

    public int checkPlanMonthUniqueEdit(IncomeParam incomeParam);

    public int addIncome(IncomeParam incomeParam);

    public int updateIncome(IncomeParam incomeParam);

    public int addIncomeDetail(List<IncomeDetail> incomeDetail);

    public List<IncomeDetail> queryIncomeDetail(Map<String, Object> map);

    public List<IncomeDetail> queryIncomeDetailMonth(Map<String, Object> map);

    public int deleteIncomeById(String[] incomeId);

    public int deleteIncomeDetail(IncomeParam incomeParam);

    public int deletePayment();

    public int insertPayment(Payment payment);

}
